/* 
 * File:   main.cpp
 * Author: david
 *
 * Created on May 31, 2012, 8:09 AM
 */

#include "class/headers.h"
#include<iostream>


/*
 * 
 */
int main(int argc, char** argv)
{
    Plus p;
    Inmultit i;
    Necunoscuta x;
    Constanta c1 = Constanta(3.5);
    Constanta c2 = Constanta(2.0);
    i.setFStang(&x);
    i.setFDrept(&c2);
    p.setFStang(&i);
    p.setFDrept(&c1);
    std::cout<<"Derivata:"<<p.derivare();
    return 0;
}

